kookoobau commited on
Commit
a6de600
1 Parent(s): 43ab23b
Files changed (1) hide show
  1. app.py +1 -5
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.run()
 
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()