Spaces:
Runtime error
Runtime error
NataLobster
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1,15 +1,3 @@
|
|
1 |
-
|
2 |
-
from transformers import pipeline
|
3 |
|
4 |
-
|
5 |
-
model="Salesforce/blip-image-captioning-base")
|
6 |
-
def launch(input):
|
7 |
-
out = pipe(input)
|
8 |
-
return out[0]['generated_text']
|
9 |
-
|
10 |
-
|
11 |
-
iface = gr.Interface(launch,
|
12 |
-
inputs=gr.Image(type='pil'),
|
13 |
-
outputs="text")
|
14 |
-
|
15 |
-
iface.launch(share=True)
|
|
|
1 |
+
from aura_sr import AuraSR
|
|
|
2 |
|
3 |
+
aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|