zhenyundeng commited on
Commit
8ea20dc
·
verified ·
1 Parent(s): c8a1107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,8 +16,8 @@ def greet_json():
16
 
17
 
18
  def generate(item: Item):
19
- return "Claim: " + item['claim']
20
- # return "Claim: " + item.claim
21
 
22
 
23
  @app.post("/generate/")
 
16
 
17
 
18
  def generate(item: Item):
19
+ # return "Claim: " + item['claim'] # python
20
+ return "Claim: " + item.claim # huggingface space
21
 
22
 
23
  @app.post("/generate/")