Daniel Huynh commited on
Commit
0b90961
1 Parent(s): 1b92abf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import requests
3
 
4
  def greet(name):
5
  x = requests.get('https://w3schools.com/python/demopage.htm')
6
- return x
7
 
8
  with gr.Blocks() as demo:
9
  name = gr.Textbox(label="Name")
 
3
 
4
  def greet(name):
5
  x = requests.get('https://w3schools.com/python/demopage.htm')
6
+ return x.text
7
 
8
  with gr.Blocks() as demo:
9
  name = gr.Textbox(label="Name")