nehalelkaref commited on
Commit
771eeb1
1 Parent(s): 2d75e32

first push

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1,7 +1,7 @@
1
- from fastapi import FastAPI
2
 
3
- app = FastAPI()
4
 
5
- @app.get("/")
6
  def read_root():
7
- return {"Hello": "World!"}
 
1
+ from flask import Flask, jsonify, request
2
 
3
+ app = Flask(__name__)
4
 
5
+ @app.route('/')
6
  def read_root():
7
+ return {"Hello": "World!"}