fatalnyl commited on
Commit
fb825f9
·
1 Parent(s): a17c53b
Files changed (2) hide show
  1. Untitled-1.ipynb +30 -0
  2. app.py +7 -0
Untitled-1.ipynb ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": null,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": []
9
+ }
10
+ ],
11
+ "metadata": {
12
+ "kernelspec": {
13
+ "display_name": "Python 3.10.7 64-bit",
14
+ "language": "python",
15
+ "name": "python3"
16
+ },
17
+ "language_info": {
18
+ "name": "python",
19
+ "version": "3.10.7"
20
+ },
21
+ "orig_nbformat": 4,
22
+ "vscode": {
23
+ "interpreter": {
24
+ "hash": "c471e10cea57cdc9c30a22972f93b01b99657e7a90b2465e730131de6242d1e1"
25
+ }
26
+ }
27
+ },
28
+ "nbformat": 4,
29
+ "nbformat_minor": 2
30
+ }
app.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def greet(name):
4
+ return "Hello " + name + "!!"
5
+
6
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
+ iface.launch()