Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
@@ -4,10 +4,6 @@ import gradio as gr
|
|
4 |
from getpass import getpass
|
5 |
import os
|
6 |
|
7 |
-
|
8 |
-
HUGGINGFACEHUB_API_TOKEN = getpass()
|
9 |
-
os.environ["HUGGINGFACEHUB_API_TOKEN"] = HUGGINGFACEHUB_API_TOKEN
|
10 |
-
|
11 |
template = """Question: {history}
|
12 |
------------------
|
13 |
Answer: Let's think step by step."""
|
@@ -39,4 +35,4 @@ gradio_app = gr.Interface(
|
|
39 |
|
40 |
# Run the Gradio app
|
41 |
if __name__ == "__main__":
|
42 |
-
gradio_app.
|
|
|
4 |
from getpass import getpass
|
5 |
import os
|
6 |
|
|
|
|
|
|
|
|
|
7 |
template = """Question: {history}
|
8 |
------------------
|
9 |
Answer: Let's think step by step."""
|
|
|
35 |
|
36 |
# Run the Gradio app
|
37 |
if __name__ == "__main__":
|
38 |
+
gradio_app.launch()
|