Spaces:
Sleeping
Sleeping
un-index
commited on
Commit
·
bba0271
1
Parent(s):
1c8febf
app.py
CHANGED
|
@@ -3,6 +3,7 @@ import requests
|
|
| 3 |
import gradio as gr
|
| 4 |
# # from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 5 |
|
|
|
|
| 6 |
|
| 7 |
# # prompt = "In a shocking finding, scientists discovered a herd of unicorns living in a remote, " \
|
| 8 |
# # "previously unexplored valley, in the Andes Mountains. Even more surprising to the " \
|
|
@@ -48,7 +49,7 @@ iface = gr.Interface(f, [
|
|
| 48 |
"text",
|
| 49 |
temperature,
|
| 50 |
top_p], outputs="text")
|
| 51 |
-
iface.launch(enable_queue=True
|
| 52 |
|
| 53 |
# all below works but testing
|
| 54 |
# import gradio as gr
|
|
|
|
| 3 |
import gradio as gr
|
| 4 |
# # from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 5 |
|
| 6 |
+
# stage, commit, push
|
| 7 |
|
| 8 |
# # prompt = "In a shocking finding, scientists discovered a herd of unicorns living in a remote, " \
|
| 9 |
# # "previously unexplored valley, in the Andes Mountains. Even more surprising to the " \
|
|
|
|
| 49 |
"text",
|
| 50 |
temperature,
|
| 51 |
top_p], outputs="text")
|
| 52 |
+
iface.launch() # enable_queue=True
|
| 53 |
|
| 54 |
# all below works but testing
|
| 55 |
# import gradio as gr
|