chansung commited on
Commit
856c9ff
1 Parent(s): 3c13a96

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from text_generation import Client
3
 
4
- endpoint_url = "https://localhost:8080"
5
  client = Client(endpoint_url)
6
 
7
  text = client.generate("Why is the sky blue?").generated_text
 
1
  import gradio as gr
2
  from text_generation import Client
3
 
4
+ endpoint_url = "http://127.0.0.1:8080"
5
  client = Client(endpoint_url)
6
 
7
  text = client.generate("Why is the sky blue?").generated_text