TejAndrewsACC commited on
Commit
e6df3fb
·
verified ·
1 Parent(s): ea2dad5

Create apiusage.py

Browse files
Files changed (1) hide show
  1. apiusage.py +9 -0
apiusage.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from gradio_client import Client
2
+
3
+ client = Client("TejAndrewsACC/Z3ta")
4
+ result = client.predict(
5
+ message="YOUR_DESIRED_INPUT",
6
+ history=[],
7
+ api_name="/chat_function"
8
+ )
9
+ print(result)