Create apiusage.py
Browse files- 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)
|