Spaces:
Runtime error
Runtime error
Version end of CIA day 5
Browse files
app.py
CHANGED
@@ -23,10 +23,6 @@ Put together a Gradio App bases on the Huggingface tutorials so that users can g
|
|
23 |
# %%capture
|
24 |
# !pip install --upgrade diffusers transformers scipy ftfy "ipywidgets>=7,<8"
|
25 |
|
26 |
-
# Commented out IPython magic to ensure Python compatibility.
|
27 |
-
# %%capture
|
28 |
-
# !pip install flag
|
29 |
-
|
30 |
# Import libraries
|
31 |
from transformers import pipeline
|
32 |
from numpy import random
|
@@ -135,7 +131,7 @@ gr.Interface(fn=generate_beatles
|
|
135 |
, description=description
|
136 |
, article=article
|
137 |
, allow_flagging='never'
|
138 |
-
).launch(
|
139 |
|
140 |
#generate_beatles(input_prompt="When I look out my window", temperature=0.7, top_p=0.5)
|
141 |
|
|
|
23 |
# %%capture
|
24 |
# !pip install --upgrade diffusers transformers scipy ftfy "ipywidgets>=7,<8"
|
25 |
|
|
|
|
|
|
|
|
|
26 |
# Import libraries
|
27 |
from transformers import pipeline
|
28 |
from numpy import random
|
|
|
131 |
, description=description
|
132 |
, article=article
|
133 |
, allow_flagging='never'
|
134 |
+
).launch()
|
135 |
|
136 |
#generate_beatles(input_prompt="When I look out my window", temperature=0.7, top_p=0.5)
|
137 |
|